<page-header-wrapper [logo]="logo" [title]="'新增企业合伙人'">
  <ng-template #logo>
    <button nz-button nz-tooltip nzTooltipTitle="返回上一页" (click)="goBack()">
      <i nz-icon nzType="left" nzTheme="outline"></i>
    </button>
  </ng-template>
</page-header-wrapper>
<nz-card>
  <sf #sf [ui]="ui" [schema]="schema" [button]="'none'">
    <!-- 企业基本信 -->
    <ng-template sf-template="_basicInfoTitle" let-me let-ui="ui" let-schema="schema">
      <div class="form-title">企业基本信息</div>
    </ng-template>
    <ng-template sf-template="_licenseTips" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        请上传营业执照原件的高清照片，若上传复印件，则需加盖公司印章；
        <div>上传后系统会自动识别并填写</div>
      </div>
    </ng-template>
    <ng-template sf-template="unit" let-me let-ui="ui" let-schema="schema">
      <div class="pr">万元</div>
    </ng-template>

    <!-- 企业法人信息 -->
    <ng-template sf-template="legalPersonIdentity/_legalPersontitle" let-me let-ui="ui" let-schema="schema">
      <div class="form-title" style="margin-top: 40px; margin-left: -180px">营业执照法人信息</div>
    </ng-template>
    <ng-template sf-template="legalPersonIdentity/_certificatePhototips" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <div>请上传身份证原件的高清照片，若上传复印件，则需申请人签字；</div>
        <div>上传后系统会自动识别并填写</div>
      </div>
    </ng-template>
    <ng-template sf-template="legalPersonIdentity/_certificatePhotoExmplateA" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>正面照（人像面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
      </div>
    </ng-template>
    <ng-template sf-template="legalPersonIdentity/_certificatePhotoExmplateB" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>背面照（国徽面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
      </div>
    </ng-template>

    <!-- 企业管理员信息 -->
    <ng-template sf-template="_adminTitle" let-me let-ui="ui" let-schema="schema">
      <div class="form-title" style="margin-top: 40px; margin-left: -180px">企业管理员信息</div>
    </ng-template>
    <ng-template sf-template="adminUserInfo/_adminCertificatePhotoTipsA" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>正面照（人像面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
      </div>
    </ng-template>
    <ng-template sf-template="adminUserInfo/_adminCertificatePhotoTipsB" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>背面照（国徽面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
      </div>
    </ng-template>

    <!-- 所属城市 -->
    <ng-template sf-template="_addressTitle" let-me let-ui="ui" let-schema="schema">
      <div class="form-title" style="margin-top: 40px; margin-left: -180px">所属城市</div>
    </ng-template>

    <!-- 渠道销售 -->
    <ng-template sf-template="_channelTitle" let-me let-ui="ui" let-schema="schema">
      <div class="form-title" style="margin-top: 40px; margin-left: -180px">渠道销售</div>
    </ng-template>
  </sf>

  <div style="display: flex; justify-content: center">
    <button nz-button type="button" nzType="primary" (click)="submitForm()" [nzLoading]="service.http.loading">确认新增</button>
    <button nz-button (click)="goBack()">返回</button>
  </div>
</nz-card>
